package org.ilead.iserve.service;

import java.util.List;

import org.ilead.iserve.model.News;
import org.ilead.iserve.model.Users;

public interface INewsService {
	 public List<News> findAll();
	 public List<News> findByTitle(String uname);
	 public List<News> findByKeywords(String keywords);
	 public List<News> findByCategroy(Integer cateId);
	 public List<News> findByOperator(String oper);
	 public News findById(Integer id);
	 public void addNews(News n) throws Exception ;
	 public void updateNews(News n) throws Exception ;
	 public void delNews(Integer id) throws Exception ;
}
